//
//  CFBaseViewController.m
//  CoolFM
//
//  Created by 曹曹 on 16/8/27.
//  Copyright © 2016年 曹曹. All rights reserved.
//

#import "CFBaseViewController.h"
#import "PlayerViewController.h"
#import "CFMacro.h"

@interface CFBaseViewController ()

@property (nonatomic, strong) UIView *playerView;

@end

@implementation CFBaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self globalConfig];
}
- (void)globalConfig {
    self.automaticallyAdjustsScrollViewInsets = NO;
    // 坐标系从64以下开始
    self.edgesForExtendedLayout = UIRectEdgeNone;
    self.view.backgroundColor = [UIColor whiteColor];
    [self.navigationController.navigationBar setBackgroundImage:[UIImage imageNamed:@"navigation_i6"] forBarMetrics:UIBarMetricsDefault];
    [self.navigationController.navigationBar setShadowImage:[UIImage new]];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}

@end
